package com.bootlever.framework.core.properties;

import com.bootlever.framework.core.properties.monitor.DruidMonitor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("bootLeverMonitors")
@ConfigurationProperties(prefix = "bootlever.framework.monitor")
public class MonitorProperties {

    /**
     * druid数据连接池监控
     */
    private DruidMonitor druidMonitor = new DruidMonitor();

    public DruidMonitor getDruidMonitor() {
        return druidMonitor;
    }

    public void setDruidMonitor(DruidMonitor druidMonitor) {
        this.druidMonitor = druidMonitor;
    }
}
